﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ThucThe;
using KetNoi;
using System.Data;

namespace DieuKhien
{
    public class Ve_dieukhien
    {
        Ve_ketnoi kn = new Ve_ketnoi();
        public DataTable danhSachVe()
        {
            return kn.danhSachVe();
        }
        public DataTable timVe(KhachHang_thucthe kh)
        {
            return kn.Tim_Ve(kh);
        }
        public int themVe(Ve_thucthe ve)
        {
            return kn.Them_Ve(ve);
        }
        public int suaVe(Ve_thucthe ve)
        {
            return kn.Sua_Ve(ve);
        }
        public int xoaVe(Ve_thucthe ve)
        {
            return kn.Xoa_Ve(ve);
        }
    }
}
